﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using DevComponents.DotNetBar.Metro;
using 批量注册;
namespace dns批量处理
{
    public partial class mainform : MetroForm
    {
        public mainform()
        {
            InitializeComponent();
            timer1.Interval = 1000;
            toolStripStatusLabel3.ForeColor = Color.CornflowerBlue;
            toolStripStatusLabel3.Text = " " + DateTime.Now.ToLongTimeString() + "  " + DateTime.Now.ToLongDateString();
            timer1.Start();
        }

        private dns dn;
        private dnspod dnsp;
        private dnsla dnsl;
        private dnsdun dnsd;
        private eDNS edns;
        private void toolStripButton1_Click(object sender, EventArgs e)
        {      
           dn=new dns();
           dn.Show();
        }

        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            //if (dnsp==null)
            //{
            //    dnsp = new dnspod();
            //}
            dnsp = new dnspod();
            dnsp.Show();
        }

        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            //if (dnsl == null)
            //{
            //    dnsl = new dnsla();
            //}
            dnsl = new dnsla();
            dnsl.Show();
        }

        private void toolStripButton4_Click(object sender, EventArgs e)
        {
            //if (dnsd==null)
            //{
            //    dnsd=new dnsdun();
            //}
            dnsd = new dnsdun();
            dnsd.Show();
        }

        private void toolStripButton5_Click(object sender, EventArgs e)
        {
            //if (edns == null)
            //{
            //    edns = new eDNS();
            //}
            edns = new eDNS();
            edns.Show();
        }

        private void metroTileItem1_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("https://www.uuuwang.com");
        }

        private void metroTileItem2_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("https://shop130435555.taobao.com/shop/view_shop.htm");
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            
            toolStripStatusLabel3.Text = " " + DateTime.Now.ToLongTimeString() + "  " + DateTime.Now.ToLongDateString();
        }

        private void toolStripStatusLabel2_Click(object sender, EventArgs e)
        {
            
        }

        private void metroTileItem4_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("http://wpa.qq.com/msgrd?v=3&uin=2096985576&site=qq&menu=yes");
        }

        private void toolStripButton6_Click(object sender, EventArgs e)
        {
            new about().ShowDialog();
        }

        private void toolStripStatusLabel4_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("http://www.uuuwang.com");
        }

        private void metroTileItem9_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("http://www.uuuwang.com/member/charge.html");
        }
    }
}
